import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

// import lottie from 'vue-lottie';
// Vue.component('lottie', lottie)

import editor from './components/editor';
// console.log(editor,'editor')
Vue.component('editor', editor)

import ECharts from 'vue-echarts'
// 全局注册组件（也可以使用局部注册）
Vue.component('v-chart', ECharts)

// 图片拖动
import vuedraggable from 'vuedraggable'

// 全局组件挂载
Vue.component('vuedraggable', vuedraggable)

// import VueAwesomeSwiper from 'vue-awesome-swiper'
// import 'swiper/dist/css/swiper.css'
// Vue.use(VueAwesomeSwiper)



Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
